package model

import "gorm.io/gorm"

type Package struct {
	gorm.Model
	PackageName    string  `gorm:"type:varchar(150); not null; comment:'套餐名称'"`
	HospitalId     int64   `gorm:"type:int; not null; comment:'医院Id'"`
	Price          float32 `gorm:"type:decimal(10,2); not null; comment:'套餐价格'"`
	OriginalPrice  float32 `gorm:" type:decimal(10,2); not null; comment:'套餐原价'"`
	Items          string  `gorm:"type:varchar(50); not null; comment:'套餐包含项目'"`
	ValidityPeriod string  `gorm:"type:varchar(150); not null; comment:'有效期'"`
	Status         int64   `gorm:"type:int; not null; comment:'0 - 上架，1 - 下架'"`
}
